#ifndef GAMEOBJECT_H
#define GAMEOBJECT_H

#include <QGraphicsPixmapItem>
#include<QMediaPlayer>//媒体播放器

class GameObject : public QGraphicsPixmapItem
{

public:

    enum ObgectType
    {
        OT_BulletPlayer,
        OT_EnemyMonster,
        OT_Zhangaiwu


    };

    explicit GameObject(QObject *parent = nullptr);

    int mObjectType;

    int GetType()
    {
        return mObjectType;
    }

};

#endif // GAMEOBJECT_H
